%html
	%head
		%title My Blog
	%body
		%p
			%b= @blog_post.title
		%p= @blog_post.content
		%p{style: "float: right;"}
			= link_to "Delete", @blog_post, method: :delete, confirm: "Are you sure you want to delete this post?"
		%p{style: "clear: both;"}
			= link_to 'Back', blog_posts_path 
		%p{style: "clear: both; float: right; margin-top: -40px"}
			= link_to 'Edit',edit_blog_post_path(@blog_post)
